<style>
   .search_time{
      text-align: center;padding-top: 10px;height: 50px;
   }
   #add-form{
      display: inline-block;margin-left: 10px;margin-bottom: 0px;height: 30px;

   }
   .btn-gray{
      background-color:gray;
       color:white;
   }
   .btn-orange{
      background-color:orange;
      color:white;
   }
   .form-group{
      display: inline-block;
   }
   .show_class{
      width: 600px;
   }
   #show_date{
      width: 100px;
   }
   #ids{
      display: none;
   }   
   #timelist{max-width: 100%;table-layout: fixed;text-align: center;border-collapse: collapse!important;margin: 0 auto;}
   #timelist tbody{width: 100%;}
   #timelist td{border: 1px solid #ddd;padding: 8px;}   
   /*弹层按钮*/
   .my-skin .layui-layer-btn .layui-layer-btn1 {
      background-color: red;
      border: 1px solid red;
      color: #FFF;
   }
   .my-skin .layui-layer-btn .layui-layer-btn2 {
      background-color: #0e6f5c;
      border: 1px solid #0e6f5c;
      color: #FFF;
   }
</style>
<div class="panel panel-default panel-intro">

   <div class="panel-heading">
     <div class="search_time">
         <form id="add-form" role="form" method="POST" action="{:url('xiservice/schedule/worker')}">

            <input id="ids" name="ids"   type="text" hidden  value="{$id}" >
            <div class="form-group show_class">
               <label class="control-label col-xs-12 col-sm-2" style="margin-top: 5px;">选择日期</label>
               <div class="col-xs-12 col-sm-4">
                  <input id="show_date" name="date" onchange="changetime()"  class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" type="text" value="{:date('Y-m-d')}"  placeholder="请选择日期">
               </div>
            </div>
            
            <!--
            <div class="form-group" style="float: right;">
               <label class="control-label col-xs-12 col-sm-2"></label>
               <div class="col-xs-12 col-sm-8">
                  <button type="button" id="search" class="btn btn-success btn-embossed">搜索</button>
               </div>
            </div>
            -->
            
         </form>
      </div>
   </div>
   <div class="panel-body">
      <div class="fixed-table-body tab-content">
         <table id="timelist" class="col-xs-12 col-sm-12 col-md-10 col-md-offset-1">

         </table>  
      </div>
   </div>
</div>
